package pl.edu.agh.solid;

public class Vertex {

	float x;
	float y;
	float z;
	public Vertex(float x, float y, float z) {
		super();
		this.x = x;
		this.y = y;
		this.z = z;
	}
	
	public float[] getCoords() {
		
	
		float[] ret = {x,y,z};
		
		return ret;
		
	}
	
	
	public float getX() {
		return x;
	}
	public float getY() {
		return y;
	}
	public float getZ() {
		return z;
	}
	
	public boolean equals(Vertex v) {
		
		return this.x == v.x && this.y == v.y && this.z == v.z;  
		
	}
	
	
	
}
